﻿using DataTransfer.SDK.Models;
using NPOI.SS.UserModel;
using System.Data;

namespace DataTransfer.SDK.Events
{
    /// <summary>
    /// 
    /// </summary>
    public class ImportBeforeExcelLoadEventArgs : EventArgs
    {
        IExcelImporter _importer;
        IWorkbook _workbook;
        DataSet _dataSet;
        /// <summary>
        /// 
        /// </summary>
        /// <param name="importer"></param>
        /// <param name="workbook"></param>
        /// <param name="dataSet"></param>
        public ImportBeforeExcelLoadEventArgs(IExcelImporter importer, IWorkbook workbook, DataSet dataSet)
        {
            _importer = importer;
            _workbook = workbook;
            _dataSet = dataSet;
        }
        /// <summary>
        /// 
        /// </summary>
        public IExcelImporter Importer
        {
            get { return _importer; }
        }
        /// <summary>
        /// 
        /// </summary>
        public IWorkbook Workbook
        {
            get { return _workbook; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DataSet OriginalData
        {
            get { return _dataSet; }
        }
    }
}
